﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Principal;
using Vit.Common.Models;

namespace Vit.Web.Models
{
    public interface IUser : IKey, INaming
    {
        string FirstName { get; set; }
        string LastName { get; set; }
        Sex Sex { get; set; }

        bool IsAnoymous { get; set; }
        bool IsAuthenticated { get; set; }
        string Account { get; set; }
        string Password { get; set; }
        string Email { get; set; }
        string Gravatar { get; set; }
        string Description { get; set; }
        ITheme Theme { get; set; }
        ISkin Skin { get; set; }
        ILocale Locale { get; set; }
        string LoggedUrl { get; set; }

        DateTime? LastLoggedDate { get; set; }
        DateTime? LastVisitedDate { get; set; }
        string LastVisitedUrl { get; set; }
        Status Status { get; set; }
        DateTime? LastStatusDate { get; set; }

        IEnumerable<IRole> Roles { get; }
    }
}
